package org.demo.szml.perssionservice.service.result;

import lombok.Data;

/**
 * @description:  基础处理结果
 * @date:    2025/6/16 23:34
 * @version:    1.0
 */
@Data
public class PermissionBaseResult {

    //处理是否成功
    private Boolean handleSuccess;

    //额外信息
    private String extInfo;

    public static PermissionBaseResult initSuccessResult() {
        PermissionBaseResult handleResult = new PermissionBaseResult();
        handleResult.setHandleSuccess(true);
        return handleResult;
    }
}
